setSystemStyle Method |
This method sets the style specified to all the loaded applications (SystemStyle).
Syntax
styleID.setSystemStyle(sName)
Parameters
Parameter |
Description |
---|---|
sName |
Required. String that specifies the name of the style that is to be applied for all applications. |
Return Value
No return value.
Example
The following example shows how this method is used.
<!-- style definition --> <div cordysType="wcp.library.ui.Style" id="style" > ... </div> <!-- Method invocation --> <input type="button" value="Get System Style" onclick="style.setSystemStyle('cordys')">